<template>
	<div class="footer">
			<ul class="footer-ul">
				<router-link :to='item.path' v-for='item in links'>
					<li>{{item.name}}</li>
				</router-link>
			</ul>
		</div>
</template>

<script>
	import { mapState } from 'vuex'
	import store from '@/store'
	export default {
		name: 'header',
		data: function() {
			return {
			}
		},
		computed: {
			...mapState({
				links: state => state.MenuStore.links
			})
		}
	}
</script>
